import javax.swing.*;
import java.awt.event.*;

public class Button_Menu extends JPanel implements ActionListener
{
	protected JButton b1, b2, b3, b4;
	
	public Button_Menu()
	{
		b1 = new JButton("Task 1");
		b1.setVerticalTextPosition(AbstractButton.TOP);
		b1.setHorizontalTextPosition(AbstractButton.LEADING);
		b1.setMnemonic(KeyEvent.VK_1);
		b1.setActionCommand("task1");
		
		b2 = new JButton("Task 2");
		b2.setVerticalTextPosition(AbstractButton.TOP);
		b2.setHorizontalTextPosition(AbstractButton.TRAILING);
		b2.setMnemonic(KeyEvent.VK_2);
		b2.setActionCommand("task2");
		
		b3 = new JButton("Task 3");
		b3.setVerticalTextPosition(AbstractButton.BOTTOM);
		b3.setHorizontalTextPosition(AbstractButton.LEADING);
		b3.setMnemonic(KeyEvent.VK_3);
		b3.setActionCommand("task3");
		
		b4 = new JButton("Task 3");
		b4.setVerticalTextPosition(AbstractButton.BOTTOM);
		b4.setHorizontalTextPosition(AbstractButton.TRAILING);
		b4.setMnemonic(KeyEvent.VK_4);
		b4.setActionCommand("task4");
		
		add(b1);
		add(b2);
		add(b3);
		add(b4);
		
	}
	
	public void actionPerformed(ActionEvent e)
	{
		
	}
}
